<template>
  <div class="test">
    <el-button @click="onAdd">+</el-button>

  </div>
</template>

<script>

import {getUUID} from "@/utils/util";

export default {
  name: 'test',
  cnName: 'test',
  components: {

  },
  data() {
    return {
      cptData: [1, 2],
      visible: false,
      unikey: new Date().getTime()
    }
  },
  methods: {
    onAdd() {
      console.info(getUUID())
    },
    toggle() {
      this.visible = !this.visible
    }
  }
}
</script>

<style lang="less" scoped>
.test {
  height: 500px;
  border: 1px solid #f00;
  background-color: #2b2b2b;
  color: #fff;
}

.scroll-wrap {
  height: 100px;
  overflow: hidden;
  margin: 100px;
  border: 1px solid #f00;

  li {
    height: 40px;
    line-height: 40px;
  }
}
</style>
